/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.hiddendanger.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@ApiModel(value = "隐患整改报告", description = "隐患整改报告实体类")
public class HiddenDangerRectificationReport extends BaseEntity {

    @ApiModelProperty(value = "corpCode", name = "corpCode", required = true)
    private String corpCode;

    @ApiModelProperty(value = "corpName", name = "corpName", required = true)
    private String corpName;

    @ApiModelProperty(value = "检查单位code", name = "checkUnit", required = true)
    private String checkUnit;

    @ApiModelProperty(value = "检查单位", name = "checkUnitName", required = true)
    private String checkUnitName;

    @ApiModelProperty(value = "整改通知id", name = "noticeId", required = true)
    private String noticeId;

    @ApiModelProperty(value = "整改通知书code", name = "noticeId", required = true)
    private String noticeCode;

    @ApiModelProperty(value = "整改报告名称", name = "reportName", required = true)
    private String reportName;

    @ApiModelProperty(value = "下发通知时间", name = "checkDate", required = true)
    @JsonFormat(pattern = "yyyy年MM月dd日", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy年MM月dd日")
    private Date noticeTime;

    @ApiModelProperty(value = "报告时间", name = "reportTime", required = true)
    @JsonFormat(pattern = "yyyy年MM月dd日", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy年MM月dd日")
    private Date reportTime;

    private List<ReportItem> reportItemList;

    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }

    public String getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(String noticeId) {
        this.noticeId = noticeId;
    }

    public String getNoticeCode() {
        return noticeCode;
    }

    public void setNoticeCode(String noticeCode) {
        this.noticeCode = noticeCode;
    }

    public String getReportName() {
        return reportName;
    }

    public void setReportName(String reportName) {
        this.reportName = reportName;
    }

    public Date getReportTime() {
        return reportTime;
    }

    public void setReportTime(Date reportTime) {
        this.reportTime = reportTime;
    }

    public List<ReportItem> getReportItemList() {
        return reportItemList;
    }

    public void setReportItemList(List<ReportItem> reportItemList) {
        this.reportItemList = reportItemList;
    }

    public String getCheckUnit() {
        return checkUnit;
    }

    public void setCheckUnit(String checkUnit) {
        this.checkUnit = checkUnit;
    }

    public String getCheckUnitName() {
        return checkUnitName;
    }

    public void setCheckUnitName(String checkUnitName) {
        this.checkUnitName = checkUnitName;
    }

    public Date getNoticeTime() {
        return noticeTime;
    }

    public void setNoticeTime(Date noticeTime) {
        this.noticeTime = noticeTime;
    }
}
